h2 {
    margin-bottom: 20px;
}

form {
    max-width: 300px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #1e90ff;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}


body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Microsoft YaHei', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.content-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 400px; /* 限制最大宽度 */
    width: 100%; /* 适应屏幕宽度 */
}

h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    background: linear-gradient(45deg, #1E9FFF, #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.start-btn {
    padding: 15px 40px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center; /* 水平居中 */
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin-top: 20px;
    width: 100%; /* 确保按钮宽度根据内容自适应 */
}


.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.start-btn:active {
    transform: translateY(1px);
}

.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.audio-player:hover {
    opacity: 1;
}

.decoration {
    position: absolute;
    pointer-events: none;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(30, 159, 255, 0.1);
    position: absolute;
}

.circle-1 {
    top: -100px;
    left: -100px;
}

.circle-2 {
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 87, 34, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .content-box {
        padding: 30px 40px;
    }

    h1 {
        font-size: 2em;
    }

    .start-btn {
        font-size: 1em;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .content-box {
        padding: 20px 30px;
    }

    h1 {
        font-size: 1.5em;
    }

    .start-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}